package com.xt.LibaryDeskManager.service;

import com.xt.LibaryDeskManager.dto.DepartmentDto;

import java.util.List;

/**
 * @author 童归权
 * @version 1.0 2021/2/4
 */
public interface DepartmentService {

    /**
     * 根据上级部门获取本级所有部门
     * @return
     * @throws Exception
     */
    public List<DepartmentDto> getAll(int pid) throws Exception;
}
